﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace bonus.Models
{
	/// <summary>
	/// 产品每月报表
	/// </summary>
	public class MonthPro
	{
		/// <summary>
		/// ID
		/// </summary>
		public ObjectId _id { get; set; }

		/// <summary>
		/// 产品编号
		/// </summary>
		public string ProNo { get; set; }

		/// <summary>
		/// 数据时间
		/// </summary>
		public string DataDT { get; set; }

		/// <summary>
		/// 数据时间
		/// </summary>
		public string DataStr { get; set; }

		/// <summary>
		/// 销售数量
		/// </summary>
		public int Num { get; set; }

		/// <summary>
		/// 销售金额
		/// </summary>
		public decimal TotlMoney { get; set; }

		/// <summary>
		/// 产品单价
		/// </summary>
		public decimal Money { get; set; }

		/// <summary>
		/// 产品名称
		/// </summary>
		public string ProName { get; set; }

		/// <summary>
		/// 添加时间
		/// </summary>
		[BsonDateTimeOptions(Kind = DateTimeKind.Local)]
		public DateTime AddDT { get; set; }

	}
}